package com.wang.config;

import com.wang.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by wangq on 2021/7/1.
 */
public class BoundSql {
    private String parseSql; // 解析后的sql语句

    private List<ParameterMapping> parameterMappingList; //各个占位符中的参数名称

    public BoundSql(String parseSql, List<ParameterMapping> parameterMappingList) {
        this.parseSql = parseSql;
        this.parameterMappingList = parameterMappingList;
    }


    public String getParseSql() {
        return parseSql;
    }

    public void setParseSql(String parseSql) {
        this.parseSql = parseSql;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
